package com.example.chessbattleplatform.web.StorageIo.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chessbattleplatform.web.StorageIo.Pojo.Mapper.UserFileStorage;
import com.example.chessbattleplatform.web.StorageIo.Pojo.Vo.DeleteFileVO;
import com.example.chessbattleplatform.web.StorageIo.Pojo.Vo.UserFileVo;
import org.springframework.web.multipart.MultipartFile;

public interface UserFileServiceInterface extends IService<UserFileStorage> {
    // 添加文件上传的数据
    UserFileVo uploadFile(MultipartFile file, Long id);

    // uuid, 查询文件上传的数据
    UserFileVo selectByUuid(Long userId);

    // 删除文件上传的数据
    DeleteFileVO deleteFile(Long userId);
}
